<?php if($this->userInfo && $this->userInfo->isMod):?>
    <div class="manage" style="margin: 10px 0; text-align: right;">
        &nbsp;<a class="fixajax btn btn-small btn-warning" href="<?php echo $this->createAbsoluteUrl('/hehe/web/image/fix', array('id' => $model->id, 'crop' => 1)); ?>">Fix bottom</a>
        &nbsp;<a class="fixajax btn btn-small btn-danger" href="<?php echo $this->createAbsoluteUrl('/hehe/web/image/delete', array('id' => $model->id)); ?>">Delete</a>
        &nbsp;<a class="fixajax btn btn-small btn-success" href="<?php echo $this->createAbsoluteUrl('/hehe/web/image/reviewed', array('id' => $model->id)); ?>">Review</a>
        &nbsp;<a class="fixajax btn btn-small btn-primary" href="<?php echo $this->createAbsoluteUrl('/hehe/web/image/social', array('id' => $model->id, 'service' => 'facebook')); ?>">Post Fb</a>
    </div>
<?php endif ?>
<?php /*
<a class="fixajax button small color" href="<?php echo $this->createAbsoluteUrl('/image/image/fix', array('id' => $model->id, 'crop' => 1, 'top' => true)); ?>">Fix Top</a>
<a class="fixajax button small color" href="<?php echo $this->createAbsoluteUrl('/image/image/reviewed', array('id' => $model->id, 'crop' => 1)); ?>">Review fix bottom</a>
<a class="fixajax button small color" href="<?php echo $this->createAbsoluteUrl('/image/image/reviewed', array('id' => $model->id, 'crop' => 1, 'top' => true)); ?>">Review fix top</a>
*/?>